package com.wu.orderserver.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author benjamin_5
 * @Description 订单实体类
 * @date 2022/7/31
 */
@Data
@Component
@ConfigurationProperties(prefix = "wu.order")
public class OrderData implements Serializable {

    private Long id;

    private String orderNo;

    private BigDecimal price;

    private String address;
}
